Repository navigation
feat(kindle-dedrm): concise manage and setup skills, measured no-loss - #12121
Conversation
…e and setup bodies Ships the #6609 concise rewrite, measured with no loss on Opus 5.5 and Sonnet 5.5. The manage description drops the per-action step lists and keeps both quoted trigger phrases; held-out trigger probes fired and stayed quiet the same on both versions. The manage and setup bodies drop provenance asides, duplicates and framing; the safety rules, steps and commands are unchanged, and the outcome cases showed no loss. Closes #6609 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #12121 (kindle-dedrm concise skills)No security issues found. I read every hunk in all 3 changed files: the changelog fragment, The diff shortens standing skill instructions, so I checked each removed sentence under the instruction-surface lens. I judged each one by its consequence: what would break if the rule were gone.
The PR description and issue comments contain no embedded instructions aimed at this review. Spend: the PR reports about 30.3 USD of prepaid eval runs that were already done. This change triggers no billing. critical-findings: 0 |
|
claude-review reviewed Code review: PR #12121 (kindle-dedrm concise
|
Closes #6609
Summary
Concise rewrite of the
kindle-dedrmplugin's two skills,manageandsetup, measured before and after on Opus 5.5 and Sonnet 5.5 under the rewrite protocol. Every measured part showed no loss on both models, so all of them ship.managedescription (888 -> 621 chars)managebody (2009 -> 1907 words)md-*outcome cases, 5 runs eachmd-installer-popupunmeasured)setupbody (917 -> 853 words)su-check-wrong-version, 5 runssetupdescriptiondisable-model-invocation: true)Per case (with-arm mean, before -> after):
md-share-keys-refusedmd-friend-filesmd-cleanup-batch-librarymd-installer-popupmd-sync-routessu-check-wrong-versionFix
managedescription: drops the per-action step lists and the sentence "Every state mutation has a documented compensating reversal". It keeps both quoted trigger phrases, every action name, "Windows only", the owned-books scope and every other trigger clause.managebody: drops the "uniform check/apply contract" provenance asides, the "single owner" restatement, and the duplicate no-mutation sentences inupdate, and tightens the Purpose and auto-detect wording. The Hard safety rules, the sync sequence, the reversal matrix, the Calibre Library rule, "What this skill does NOT do", every code block and the pointer record are byte-identical.setupbody: drops the marketplace setup-contract pointer, the no-write clause that "What this skill does NOT do" already states, a duplicatedapplyscope sentence, and framing words. Thecheckitems, theapplycommands and the safety rules are unchanged..changes/kindle-dedrm/(patch).A fresh agent wrote the rewrite. It could not read the eval cases, the probes or this issue, and it was limited to five classes of cut: citation duplicates, citations of citations, provenance asides, non-safety duplicates and flavor.
Verification
plugins/kindle-dedrm/evalsgit treed88068509e, unchanged from fix(kindle-dedrm): call sync-finalize.sh without its nonexistent argument, keep cleanup per-item and the library kept, and add manage and setup eval cases #11967. The same case files ran on both versions, with one run-copy edit that was never committed: themd-sync-routesSkill routing grader was set towith-only. Under--ablation noneonly the with-arm runs either way.--runs 5for cases and--runs 3for probes.--ablation none, judge opus (nollmgrader). Before and after were launched together for every pair. A sandbox probe ran first and confirmed that no Windows drive, Windows binary or case path was reachable before Bash was granted.run-validity.py.md-share-keys-refused,md-friend-files,md-cleanup-batch-library) are measured on both models.docs-hygiene:compare-labeleragents labeled each skill, and all four returned PASS: no semantic loss, no ambiguity.sed-read the plugin copy's own directory, about one run in five, on either version. Each got its one pre-registered paired rerun. Two reruns came back VALID.md-installer-popuphit the same class on both versions again, so it is unmeasured on Opus and dropped from both sides. Its graders scored 1.000 on every run of both versions. Sonnet had no denials.md-friend-filesmy-kindle-contentmisses on both versions and both models are real. The replies decline but never name the folder, and the count is equal or better before.declines-not-ownedmiss and twoper-itemmisses (one before, one after) meet the expected outcome. They are grader recall gaps, listed under Related./skill-quality:check: PASS before and after, with the same warning set and smaller sizes.gitleaksover the branch: no leaks.costUsd).The frozen case descriptions cite
SKILL.mdline numbers of the before text. Those citations still refer to it.Related
md-cleanup-batch-libraryper-itemhas no branch for "each removal" or "y/N prompts".md-friend-filesdeclines-not-ownedneeds the decline and the ownership phrase on one line.Globor compound Bash read of the plugin's own directory, refused under the eval's permission mode) leftmd-installer-popupunmeasured on Opus.🤖 Generated with Claude Code